小弟有个问题,希望各位能给点指点,谢谢。我有个dll,里面定义了resource.h和test.rc。
但是LoadString的时候总是出错,
LoadString(hInstance, IDS_ASTRING1, sz_ASTRING1, 127);错误码1813:The specified resource type cannot be found in the image file.
我知道是因为hInstance指向的是调用这个dll的应用程序,而不是这个dll。
那么如何让它指向自己呢?谢谢!