1) 参考:
GetPrivateProfileString
WritePrivateProfileString
2)我用 VC 以资源方式打开 CARDS.DLL,全部是纸牌图案。你自己对照图案定义常量就可以了。

解决方案 »

  1.   

    edyang:对不起,只能给您参与分10分,
    请看清我的问题:
    (1)我需要的是将device=Vcomm.vxd这行改成:device=*Vcomm.vxd(能删掉这行亦可)
    这是我的源码(当然不能达到这个目的,所以才请教大侠啦):
    //change system.ini char strTemp[MAX_PATH];
    ::memset( strTemp, 0, MAX_PATH ); 
    ::GetWindowsDirectory(strTemp,MAX_PATH ); CString strSystem;
    strSystem=strTemp;
    strSystem+="\\System.ini"; if (bAddNew)
    ::WritePrivateProfileString  ("386Enh","device=Vcomm.vxd",NULL,strSystem);
    else
    ::WritePrivateProfileString("386Enh","device=*Vcomm.vxd",strSystem); //update registry...
    (2)cards.dll中除了有纸牌图案外,还有以下方法:cdtInit,cdtDraw,cdtTerm等,我需要implib.exe将 Dll -> .lib ,然后在程序中链接。请大侠们不吝赐教!
      

  2.   

    在本站输入【Cards.dll】查找一下,别人已经回答了!
    我不想再重复!