Quantcast
Channel: MicroStation Programming Forum - Recent Threads
Viewing all articles
Browse latest Browse all 7260

[U7] mdlViewManager_loadSpriteFromRsrc()

$
0
0

Since it has been reported that Defect #569256 has "in part been resolved by exporting mdlViewManager_loadSpriteFromRsrc() to load sprites", I gave it a try:

int		iconID = IDI_ICON1;
HINSTANCE	myDll = GetModuleHandleW(L"srs_viewMonitorConnect");
m_oSpriteP = mdlViewManager_loadSpriteFromRsrc(iconID, &myDll);

and was not successful. The GetModuleHandleW() call resulted in a non-NULL value for myDll, but the call to mdlViewManager_loadSpriteFromRsrc() returned a NULL to m_oSpriteP. Is there more than needs to be done?


Viewing all articles
Browse latest Browse all 7260

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>